<%= polaris_choice_list(title: "Discount minimum requirements", name: :condition) do |choice| %>
  <% choice.with_radio_button(label: "None", value: "none") %>
  <% choice.with_radio_button(label: "Minimum purchase", value: "minimum_purchase") %>
  <% choice.with_radio_button(label: "Minimum quantity", value: "minimum_quantity") do %>
    <%= polaris_text_field(name: :minimum_quantity, label_hidden: true) %>
  <% end %>
<% end %>
